﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="home_ Password.aspx.cs" Inherits="Dryricenet.home__Password" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title><script src="JS/jquery-3.6.0.js"></script>

    <style>
        body {
            /*background: #ebebeb;*/
            background: #f3c50d;
            font-family: "Helvetica Neue","Hiragino Sans GB","Microsoft YaHei","\9ED1\4F53",Arial,sans-serif;
            color: #222;
            font-size: 12px;
        }
        
        #quanbu {
            background: url("image/beijing.jpg")no-repeat;
            background-size: 100% 100%;
        }

        * {
            padding: 0px;
            margin-left: 0px;
            margin-right: 0px;
            margin-top: 0px;
        }

        .top_div {
            /*background: #008ead;*/
            width: 100%;
            height: 294px;
            padding-top: 386px;
        }

          .ipt {
               width: 290px;
            border: 1px solid #d3d3d3;
            padding: 10px 10px;
           
            border-radius: 4px;
            padding-left: 35px;
            -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
            box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
            -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
            -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
            transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s
        }

            .ipt:focus {
                border-color: #66afe9;
                outline: 0;
                -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
                box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)
            }

        .u_logo {
            background: url("image/user.png") no-repeat;
            padding: 10px 10px;
            position: absolute;
            top: 43px;
            left: 40px;
        }

        .p_logo {
            background: url("image/password.png") no-repeat;
            padding: 10px 10px;
            position: absolute;
            top: 12px;
            left: 40px;
        }

        a {
            text-decoration: none;
        }

        .tou {
            background: url("image/tou.png") no-repeat;
            width: 97px;
            height: 92px;
            position: absolute;
            top: -87px;
            left: 140px;
        }

        .left_hand {
            background: url("image/left_hand.png") no-repeat;
            width: 32px;
            height: 37px;
            position: absolute;
            top: -38px;
            left: 150px;
        }

        .right_hand {
            background: url("image/right_hand.png") no-repeat;
            width: 32px;
            height: 37px;
            position: absolute;
            top: -38px;
            right: -64px;
        }

        .initial_left_hand {
            background: url("image/hand.png") no-repeat;
            width: 30px;
            height: 20px;
            position: absolute;
            top: -12px;
            left: 100px;
        }

        .initial_right_hand {
            background: url("image/hand.png") no-repeat;
            width: 30px;
            height: 20px;
            position: absolute;
            top: -12px;
            right: -112px;
        }

        .left_handing {
            background: url("image/left-handing.png") no-repeat;
            width: 30px;
            height: 20px;
            position: absolute;
            top: -24px;
            left: 139px;
        }

        .right_handinging {
            background: url("image/right_handing.png") no-repeat;
            width: 30px;
            height: 20px;
            position: absolute;
            top: -21px;
            left: 210px;
        }

        .DL {
            background: #ffd100;
            padding: 7px 10px;
            border-radius: 4px;
            border: 1px solid #ffd100;
            border-image: none;
            color: rgb(255, 255, 255);
            font-weight: bold;
        }
            .DL:hover {
                 background: #ffd643;
            }
        .hqyzm {
            border:none;
            font-size:14px;
            color:#66afe9;
            background:none;
            text-decoration:underline;
            margin-left:67%;
        }
        .hqyzm1 {
             border:none;
            font-size:14px;
            color:#66afe9;
            background:none;
            text-decoration:underline;
            margin-left:67%;
        }
    </style>
   
    <script type="text/javascript">
        var countdown = 60;
        function settime(val) {
            if (countdown == 0) {
                val.removeAttribute("disabled");
                val.value = "获取验证码";
               
            } else {
                val.setAttribute("disabled", true);
                val.value = "" + countdown + "后可重发";
                countdown--;
            }
            setTimeout(function () {
                settime(val)
            }, 1000)
        }
        
        $(function () {
            //得到焦点
            $("#password").focus(function () {
                $("#left_hand").animate({
                    left: "150",
                    top: " -38"
                }, {
                    step: function () {
                        if (parseInt($("#left_hand").css("left")) > 140) {
                            $("#left_hand").attr("class", "left_hand");
                        }
                    }
                }, 2000);
                $("#right_hand").animate({
                    right: "-64",
                    top: "-38px"
                }, {
                    step: function () {
                        if (parseInt($("#right_hand").css("right")) > -70) {
                            $("#right_hand").attr("class", "right_hand");
                        }
                    }
                }, 2000);
            });
            //失去焦点
            $("#password").blur(function () {
                $("#left_hand").attr("class", "initial_left_hand");
                $("#left_hand").attr("style", "left:100px;top:-12px;");
                $("#right_hand").attr("class", "initial_right_hand");
                $("#right_hand").attr("style", "right:-112px;top:-12px");
            });
          
           
            $(".hqyzm").click(function () {
                /*settime(this);*/
                $(this).css("text-decoration", "none");
               
            });
        });
</script>
</head>
<body>
    <form id="form1" runat="server">
        <div id="quanbu">
            <div class="top_div">
                <div style="background: rgb(255, 255, 255); margin: -100px auto auto; border: 1px solid rgb(231, 231, 231); border-image: none; width: 400px; height: 200px; text-align: center;">
                    <div style="width: 165px; height: 96px; position: absolute;">
                        <div class="tou"></div>
                        <div class="initial_left_hand" id="left_hand"></div>
                        <div class="initial_right_hand" id="right_hand"></div>
                    </div>
                  
                   <%-- <div class="dx">--%>
                        <p style="padding: 30px 0px 10px; position: relative;">
                            <span
                                class="u_logo"></span>
                            <asp:TextBox ID="txtPhone" runat="server" placeholder="请输入手机号" CssClass="ipt"></asp:TextBox>
                        </p>
                        <p style="position: relative;">
                            <span class="p_logo"></span>
                            <asp:TextBox ID="txtCode" runat="server" placeholder="请输入验证码" CssClass="ipt"></asp:TextBox><br />
                            <asp:Button ID="txtYZM" runat="server" Text="获取验证码" CssClass="hqyzm" OnClick="txtYZM_Click" />
                               
                           
                             
                            
                        </p>
                   <%-- </div>--%>
                    <div style="height: 50px; line-height: 50px; margin-top: -7px; border-top-color: rgb(231, 231, 231); border-top-width: 1px; border-top-style: solid;">
                        <p style="margin: 0px 35px 20px 45px;">
                            <span style="float: left;">
                                <a style="color: rgb(204, 204, 204);"
                                href="home_DL.aspx">密码登录</a>
                            </span>
                            <span style="float: right;">
                                <a style="color: rgb(204, 204, 204); margin-right: 10px;"
                                    href="home_ZC.aspx">注册</a>
                                <asp:Button ID="Button1" runat="server" Text="登录" CssClass="DL" OnClick="Button1_Click1" />
                                
                            </span>
                             
                        </p>
                    </div>
                </div>
            </div>

        </div>
      
        
    </form>
</body>
</html>
